/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

header {
  background-color: #0f1056;
  padding: 20px 0;
  text-align: center;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

.logo {
  font-size: 35px;
  font-weight: bold;
  color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 text-shadow: 3px 4px 4px #81b1ce;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}
#hamberger{
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}
#dropdown{
  display: none;
  margin-top: 1rem;
  transition: all 0.5s ease-in-out;
  transform: translateY(0px);
}
#dropdown ul li {
  width: 100%;
  height: 50px;
  color: white;
  text-decoration: none;
}

#dropdown ul li a {
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;

}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 10%;
  background: url('cricket-bg.jpg') no-repeat center center/cover;
  color: white;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 48px;
}

.hero-content p {
  font-size: 18px;
  margin: 20px 0;
}

.hero-img {
  width: 40%;
}

.features {
  padding: 50px 10%;
  text-align: center;
  background-color: white;
}

.features h2 {
  margin-bottom: 30px;
  font-size: 32px;
}

.feature-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 300px 300px 300px;
  grid-template-rows: 150px;
  justify-content: space-around;
  gap: 20px;
}

.feature-card {
  background-color: #81b1ce;
  padding: 20px;
  width: 30%;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 24px;
  color:red;
}
h3:hover{
  color: white;
  text-decoration: underline;
}

.about {
  padding: 50px 10%;
  /*text-align: center;*/
}

.about h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.cta {
  padding: 50px 10%;
  background-color: #0f1056;
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cta .btn {
  display: inline-block;
  /* padding: 10px 30px; */
  background-color: white;
  color: #0f1056;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0f1056;
  color: white;
}


/* slider stat  */
/* Slider Container */
.slider{
  width: 90%;
  height: 60vh;
  box-shadow: 0px 0px 5px #81b1ce;
  overflow: hidden;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  
}

.slides{
  width: 400%;
  height: 100%;
  display: flex;
  animation: movindSlide 13s infinite alternate ease-in-out;
}

.slide{
  width: 25%;
  height: 100%;
}
.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@keyframes movindSlide {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-25%);
  }
  45% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  70% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(-75%);
  }
}
/* slider end */


@media (max-width:500px) {
  header nav li {
    display: none;
  }
  #hamberger{
    display: block;
  }
  .feature-cards {
    width: 100%;
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 200px 200px 200px;
    justify-content: space-around;
    gap: 20px;
  }
  .slider{
    width: 90%;
    height: 50vh;
  }
}